package org.swust.sysmonitorapp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("alert_thresholds")
public class AlertThreshold {
    @TableId("device_id")
    private String deviceId;

    @TableField("heart_rate_min")
    private Integer heartRateMin;

    @TableField("heart_rate_max")
    private Integer heartRateMax;

    @TableField("spo2_min")
    private Integer spo2Min;

    @TableField("is_active")
    private Integer isActive;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}